package com.wyg.epdata.entity.reqDto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @Author: WangYongGan
 * @Date: 2022/3/5 21:23
 * @Description:
 */
@Data
public class KwPageReq<T> {
    private int current;
    private int size;
    private T param;
    private String orderBy;

    public Page<T> toPage() {
        return new Page<>(current, size);
    }
}
